﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
namespace Jemer.Domain.Entities
{
    //用户档案
    public class UserArchive
    {

        /// <summary>
        /// 主键标识
        /// </summary>
        [Key]
        [Required]
        [MaxLength(4)]
        public int ArchiveID { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int UserID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>

        [Required]
        [MaxLength(8)]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 年龄层级
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int Item_AgeLevel { get; set; }

        /// <summary>
        /// 体重
        /// </summary>

        [Required]
        [MaxLength(5)]
        public decimal Item_Weight { get; set; }

        /// <summary>
        /// 运动习惯
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int Item_SportHabit { get; set; }

        /// <summary>
        /// 饮酒史
        /// </summary>

        [Required]
        [MaxLength(200)]
        public string Item_DrinkingHistory { get; set; }

        /// <summary>
        /// 健康状况
        /// </summary>

        [Required]
        [MaxLength(200)]
        public string Item_Healthy { get; set; }

        /// <summary>
        /// 吸烟情况
        /// </summary>

        [Required]
        [MaxLength(200)]
        public string Item_Smork { get; set; }

        /// <summary>
        /// 压力情况
        /// </summary>

        [Required]
        [MaxLength(200)]
        public string Item_Stress { get; set; }

        /// <summary>
        /// 睡眠情况
        /// </summary>

        [Required]
        [MaxLength(200)]
        public string Item_Sleeping { get; set; }

        /// <summary>
        /// 是否掉头发
        /// </summary>


        [MaxLength(200)]
        public string Item_Hair { get; set; }

        /// <summary>
        /// 疾病1
        /// </summary>


        [MaxLength(200)]
        public string Item_Sickness1 { get; set; }

        /// <summary>
        /// 疾病2
        /// </summary>


        [MaxLength(200)]
        public string Item_Sickness2 { get; set; }

        /// <summary>
        /// 疾病3
        /// </summary>


        [MaxLength(200)]
        public string Item_Sickness3 { get; set; }

        /// <summary>
        /// 疾病4
        /// </summary>


        [MaxLength(200)]
        public string Item_Sickness4 { get; set; }

        /// <summary>
        /// 其他疾病
        /// </summary>



        public string Item_OtherSickness { get; set; }

        /// <summary>
        /// 亲属疾病
        /// </summary>



        public string Item_RelativeSickness { get; set; }

        /// <summary>
        /// 保健食品
        /// </summary>



        public string Item_Food { get; set; }

        /// <summary>
        /// 保健器材
        /// </summary>



        public string Item_Apparatus { get; set; }

        /// <summary>
        /// 是否已处理
        /// </summary>

        [Required]
        [MaxLength(1)]
        public bool IsCheck { get; set; }

        /// <summary>
        /// 备注
        /// </summary>


        [MaxLength(200)]
        public string Reamrk { get; set; }


    }
}

